package cn.tedu.ivosbbb.geofence.service.impl;

import cn.tedu.ivosbbb.geofence.mapper.GeofenceMapper;
import cn.tedu.ivosbbb.geofence.pojo.dto.GeofenceQuery;
import cn.tedu.ivosbbb.geofence.pojo.vo.GeofenceVO;
import cn.tedu.ivosbbb.geofence.service.GeofenceService;
import lombok.extern.slf4j.Slf4j;
import net.bytebuddy.description.type.TypeList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class GeofenceServiceImpl implements GeofenceService {
    @Autowired
    GeofenceMapper geofenceMapper;
    @Override
    public List<GeofenceVO> selectGeofence(GeofenceQuery geofenceQuery) {
        log.debug("查询电子围栏:geofenceQuery={}",geofenceQuery);
        List<GeofenceVO> list = geofenceMapper.selectGeofence(geofenceQuery);
        return list;
    }
}
